using System;
using Core.Demo2;
using NUnit.Framework;
using NBehave.Spec.NUnit;

namespace Core.UnitTests.Demo2
{
	[TestFixture]
	public class EmployeeSalaryReportHeaderGeneratorTester
	{
		[Test]
		public void Should_return_report_header()
		{
			var generator = new EmployeeSalaryReportHeaderGenerator();
			var reportText = generator.GetReportText();
			Console.Write(reportText);
			reportText.ShouldEqual(@"<tr>
						<td>Employee Id<td>
						<td>Name<td>
						<td>Salary<td>
						<td>Last Increment Date<td>
					</tr>");
		}
	}
}